package chapter20.homework1;

public class Client {
    public static void main(String[] args) {
        WTO wto = new WTO();
        China china = new China();
        American american = new American();

        china.setUnitedNation(wto);
        american.setUnitedNation(wto);

        wto.setChina(china);
        wto.setAmerican(american);

        china.sendMessage("扫平美洲，征服美国！--中华人民共和国");
        american.sendMessage("美国以决定无条件向中国政府投降！--美利坚合共国");
    }
}
